package com.khalil.kkadmin.ai.rag.knowledgeset.service;

import com.khalil.kkadmin.ai.rag.knowledgeset.entity.RagKnowledgeText;
import com.khalil.kkadmin.ai.rag.knowledgeset.dto.RagKnowledgeDocDto;
import com.khalil.kkadmin.ai.rag.knowledgeset.entity.RagKnowledgeDoc;
import com.khalil.kkadmin.infrastructure.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface RagKnowledgeDocService extends IService<RagKnowledgeDoc, Long> {
    List<RagKnowledgeDocDto> upload(Long dirId, List<MultipartFile> files);

    RagKnowledgeDocDto getKnowledgeDoc(Long id);

    List<RagKnowledgeDocDto> listByKnowledgeSetId(Long dirId);

    void deleteByIdList(List<Long> idList);
}
